/*****************************************************
** Author: 
** Date: 2019-12-07
*
*****************************************************/

#include "microecc_test.h"
#include "comm.h"
#include "uECC.h"

/**
 * @brief
 * @param  None
 * @retval None
 */
void mircoecc_run(void)
{
	unsigned char public[64];
	unsigned char private[32];
	uECC_Curve curve = uECC_secp256r1();

	int ret = uECC_make_key(public, private, curve);
	tc_log("uECC_make_key ret %d", ret);

	hex_dump("public", public, sizeof(public));
	hex_dump("private", private, sizeof(private));
}

/* End of file */



